file-chooser: Don't wait for ENTER to initiate search
authorDebarshi Ray <debarshir@gnome.org>
Tue, 11 Nov 2014 18:02:22 +0000 (19:02 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 5 Dec 2014 02:59:52 +0000 (21:59 -0500)
Most of the core GNOME applications (eg., gnome-control-center,
gnome-documents, and nautilus) start searching as soon as the text
changes, and don't wait for the user to hit ENTER. It would be nice to
follow the same pattern.

https://bugzilla.gnome.org/show_bug.cgi?id=739977

gtk/ui/gtkfilechooserwidget.ui

index 6fea987550192b51aa4d989da379296e51d81562..a1aed0803398179fe34fb0c92f5af168a99c77be 100644 (file)
                       <object class="GtkSearchEntry" id="search_entry">
                         <property name="visible">True</property>
                         <property name="hexpand">True</property>
-                        <signal name="activate" handler="search_entry_activate_cb" swapped="no"/>
+                        <signal name="search-changed" handler="search_entry_activate_cb" swapped="no"/>
                       </object>
                     </child>
                   </object>